
function WinEventListener(thisApp,thisWin){

    function initEvent(){
        thisWin.on('minimize',(e) =>{
            thisWin.hide();
        })
        thisWin.once('ready-to-show', () => {
            thisWin.show()
        })
    }
    initEvent();
}
export default WinEventListener;